package com.example.XqmZsb.mapper;

import com.example.XqmZsb.domian.Dome01;
import com.example.XqmZsb.domian.Enrollment;
import com.example.XqmZsb.domian.Enrollmentinfo;
import com.example.XqmZsb.domian.Majorinfo;
import com.example.XqmZsb.domian.Schoolmajorinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

// 在对应的 Mapper 接口中
@Mapper
public interface Dome01Mapper {
    List<Dome01> findByKey2(@Param("key") String key, @Param("value") Object value);
    Object findByAll2();
    List<Enrollment> findWithMultipleConditions(Map<String, Object> conditions);
    List<Enrollment> findWithNameLike(Map<String, Object> conditions);
    List<Enrollmentinfo> findWithNameIn(@Param("conditions") Map<String, Object> conditions);
    List<Enrollmentinfo> findWithSchool(@Param("codeMap") Map<String,Object> codeMap,@Param("SchoolMap") Map<String,Object> SchoolMap,@Param("natureMap") Map<String,Object> natureMap);
    //XqmZsb接口
    List<Majorinfo> XqmZsbLikeName(Map<String, Object> conditions);
    List<Majorinfo> XqmZsbSubName(Map<String, Object> conditions);
    List<Majorinfo> XqmZsbBKSubName(Map<String, Object> conditions);
    List<Majorinfo> XqmZsbBKName(Map<String, Object> conditions);
    List<Schoolmajorinfo> XqmZsbMajorSchoolIn(@Param("conditions") Map<String, Object> conditions);
    List<Schoolmajorinfo> XqmZsbSchool(Map<String, Object> conditions);
    List<Schoolmajorinfo> XqmZsbSchoolIn(@Param("SchoolMap") Map<String,Object> SchoolMap, @Param("natureMap") Map<String,Object> natureMap);
}